<template>
  <div>
    <el-table v-loading="loading" :data="tableData" border style="width: 100%">
      <el-table-column prop="id" label="用户ID" align="center">
      </el-table-column>
      <el-table-column prop="userId" label="所属班级" align="center">
      </el-table-column>
      <el-table-column prop="title" label="	作业名称" align="center">
      </el-table-column>
      <el-table-column prop="completed_text" label="	完成情况" align="center">
      </el-table-column>
    </el-table>
    <Page :total="total" :url="url" />
  </div>
</template>
<script>
import Page from "../../components/common/Pageing.vue";
export default {
  components: {
    Page,
  },
  data() {
    return {
      tableData: [],
      loading:true,
      url:'/works',
      total:0
    };
  },
};
</script>
<style lang="scss">
</style>